package com.dnzx.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.dnzx.model.OrderBO;

/**
* 订单
 */
@Repository
public interface IOrderDao {

	public void save(OrderBO orderBO);

	public void delete(Long id);

	public void update(OrderBO orderBO);

	public OrderBO get(Long id);
	
	public List<OrderBO> queryList(OrderBO orderBO);
	
	public List<OrderBO> queryPage(@Param("pageSize") int pageSize, 
			@Param("startRow") int startRow, @Param("bo") OrderBO bo);
	
	public int queryCount(OrderBO orderBO);

}
